import request from '@/utils/request'

/**查询车辆列表 */
export function googleVehicleList(params) {
  return request({
    url: '/distribution/googleVehicle/list',
    params
  })
}


/**新增车辆 */
export function addGoogleVehicle(data) {
  return request({
    url: `/distribution/googleVehicle`,
    method: 'post',
    data
  })
}

/**修改车辆 */
export function updateGoogleVehicle(data) {
  return request({
    url: `/distribution/googleVehicle`,
    method: 'PUT',
    data
  })
}

/**删除车辆 */
export function deleteGoogleVehicle(ids) {
  return request({
    url: `/distribution/googleVehicle/${ids}`,
    method: 'DELETE'
  })
}
